package com.RKB.service.impl;

import com.RKB.service.threeIdSercive;
import com.RKB.dao.threeIdDao;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class threeIdSerciveimpl implements threeIdSercive {

    @Autowired
    private threeIdDao threeIddao;
    @Override
    public List<Integer> findAllId(String method, String uid) {
        return threeIddao.findAllId(method, uid);
    }

    @Override
    public void insertId(String uid,String method, Integer errerId) {
        threeIddao.insertId(uid,method, errerId);
    }

    @Override
    public void insertRate(String method, String uid, Integer errerNum, Integer allNum) {
       threeIddao.insertRate(method, uid, errerNum, allNum);
    }
}
